import 'dart:ui';

import 'package:flutter/cupertino.dart';

class DemoLocalizations {
  final Locale locale;

  DemoLocalizations(this.locale);

  static Map<String, Map<String, String>> _localizedValues = {
    'en': {
      'task title': 'Device List',
      'task tow title': 'My',
      'auto login fail': 'Automatic login failed, please login first!',
      'not login': 'Not login in',
      'login out': 'Login out',
      'add device': 'Add Device',
      'my share': 'My Share',
      'change pass': 'Change Password',
      'share list': 'Share List',
      'note': 'name: time+permission',
      'Number of shares': 'Number of shares: ',
      'No equipment': 'No equipment',
      'Please login first': 'Please login first!',
      'No share': 'No sharing',
      'login': 'Login',
      'Send verification code': 'Send verification code',
      'register': 'Register',
      'login success': 'Registration completed',
      'confirmPassword': 'Confirm password',
      'password': 'Password',
      'cannot be empty': 'The user name or password cannot be empty',
      'user name': 'User name',
      'Please enter the number': 'Please enter the number',
      'Please enter the correct verification':
          'Please enter the correct verification',
      'The two password inputs are inconsistent':
          'The two password inputs are inconsistent',
      'login was successful': 'Login was successful',
      'phone number': 'Phone number',
      'Fill in the verification code': 'Enter the verification code',
      'cancel': 'Cancel',
      'Add camera': 'Add monitor',
      'You have added a camera': 'You have added a monitor',
      'Share success': 'Successful sharing',
      'confirm': 'Confirm',
      'Please enter the sharer account number!':
          'Please enter the sharer account number!',
      'Control switch': 'Control switch',
      'Setting parameters': 'Setting parameters',
      'View camera': "View monitor",
      'Share this device': 'Share device',
      'Rename this device': 'Rename device',
      'Remote online': 'Online',
      'off-line': 'Off-line',
      'The current machine is not online remotely':
          'The current device is not online remotely',
      'Unbind this device': 'Unbind this device',
      'Power switch settings': 'Power switch settings',
      'Parameter setting': 'Set up',
      'Switch control': 'Command',
      'Initializing': 'Initializing',
      'retry': 'Retry',
      // 'Distribution network success': 'Match successfully',
      'return': 'Return',
      'Please enter your Wi Fi password': 'Please enter your Wi Fi password',
      'Start distribution network': 'Start matching network',
      'Binding failed Please check':
          'Binding failed. Please check deivce status and the router network and reconfigure device after restoration!',
      'Distribution network success':
          'Match successfully, please modify AP information ASAP!',
      'Binding in progress': 'Binding in progress',
      'connectedInternet':
          'The device has been connected to the Internet of things',
      'confirmWiFi':
          'Please confirm that your mobile phone is connected to available Wi Fi, and then click the try again button below.',
      'checkleft':
          'Please confirm that your smart device is in the distribution network state, and then enter it in the input box below<',
      'checkright':
          '>After the corresponding password of Wi Fi, click the start matching network button below. Please do not use 5g band WiFi',
      'New password': 'New password',
      'Submit': 'Submit',
      'Please click to select sharer permission':
          'Sharer permission',
      'Please select the expiration time': 'Expiration time',
      'Please enter the sharer account': 'Sharer account',
      'Please enter a new name': 'New name',
      'Are you sure you want to unbind this device':
          'Are you sure you want to unbind this device',
      'Machine unbinding': 'Device unbinding...',
      'Deletion succeeded': 'Deleted successfully',
      'Modify share': 'Modify share',
      'Sharer account': 'Sharer account',
      'Modification succeeded': 'Modified successfully',
      'withdrawshare': 'Are you sure you want to cancel sharing',
      'Sharing and recovering': 'Sharing and recovering',
      'Expired': 'Expired',
      'Cancelled successfully': 'Cancelled successfully',
      'Welcome to the DC translation door':
          'DC Sliding Gate Opener',
      'Welcome to use DC swing door': 'DC Swing Gate  Opener',
      'Welcome to use the automatic door': 'Swing Door Opener',
      'Welcome to the AC translation door':
          'AC Sliding Gate Opener',
      'Welcome to use the AC side door': 'AC Swing Gate Opener',
      'Welcome to translation automatic door':
          'Slidng Door Opener',
      'Welcome to use DC swing door': 'DC Swing Gate Opener',
      'Welcome to 1-4-way inching switch': 'Welcome to 1-4-way inching switch',
      'Welcome to use 1-4 self-locking switch':
          'Welcome to use 1-4 self-locking switch',
      'Welcome to 1-4 way interlock switch':
          'Welcome to 1-4 way interlock switch',
      'Please do not click frequently': 'Please do not click frequently',
      'Click to start monitoring and playing': 'Open monitor',
      'current state': 'Current state:',
      'Open the door': 'Open',
      'close the door': 'Close',
      'stop the door': 'Stop',
      'reminder': 'Reminder',
      'presscontrol':
          'Please press any key on the remote control to complete the binding ASAP',
      'Add remote control': 'Add remote',
      'deleteallremote': 'Are you sure you want to delete all remote controls',
      'Remove remote control': 'Remove remote',
      'Full open mode': 'Full open mode',
      'Pedestrian channel mode': 'Pedestrian',
      'Double open mode': 'Double open mode',
      'Single open mode': 'Single open mode',
      'Long open mode': 'NO mode',
      'Long closed mode': 'NC mode',
      'Close in place': 'Fully stop',
      'Drive to the seat': 'Fully opening',
      'In operation': 'Working',
      'Getting settings': 'Getting settings',
      'Modify AP information': 'Modify AP',
      'setdoor1': 'Motor 1 working time',
      'Submit settings': 'Submit',
      'Settings submitted': 'Submitted',
      'Itinerary learning': 'Programming',
      'View settings': 'Parameters',
      'presscontrollearn':
          'Please press any remote control key within 20 seconds to start Programming! ',
      'Restore default settings': 'Restore default settings',
      'Please enter the complete password no less than 8 digits':
          'Please enter the complete password no less than 8 digits',
      'parameter settings': 'Parameter settings',

      'setforcedelay': 'Force&Closing delay time',
      'setforcedelayAndErrorTile': 'set the force，closing and error delay time',

      'setdoorspeed': 'Working speed',
      'setdoor2': 'Motor 2 working time',
      'setInterval': 'set the opening and closing interval',

      'Open the door quickly for 1 time': 'Motor 1 fast opening time',
      'Open the one door Slow time': 'Motor 1 soft opening time',
      'close the one door quickly time': 'Motor 1 fast stop time',
      'close the one door Slow time': 'Motor 1 soft stop time',

      'Open the door quickly for 1 time2': 'Motor 2 fast opening time',
      'Open the one door Slow time2': 'Motor 2 soft opening time',
      'close the one door quickly time2': 'Motor 2 fast stop time',
      'close the one door Slow time2': 'Motor 2 soft stop time',

      'Title1': 'Closing delay time',
      'Title2': 'on delay',
      'Title3': 'off delay',
      'Title4': 'resilience when blocked',
      'Title5': 'door stopping detection force',

      'Title6': 'Fast opening speed',
      'Title7': 'Soft opening speed',
      'Title8': 'Fast stop speed',
      'Title9': 'Soft stop speed',

      'changkai': 'NO',
      'changbi': 'NC',
      'zidong': 'Auto',
    },
    'zh': {
      'task title': '机器列表',
      'task tow title': '个人中心',
      'auto login fail': '自动登录失败,请先登录!',
      'not login': '未登录',
      'login out': '退出登录',
      'add device': '添加设备',
      'my share': '我的分享',
      'change pass': '修改密码',
      'share list': '分享列表',
      'note': '分享人: 设备名 到期时间+权限',
      'Number of shares': '分享数量: ',
      'No equipment': '暂无设备',
      'No share': '暂无分享',
      'login': '登录',
      'Please login first': '请先登录！',
      'Send verification code': '发送验证码',
      'register': '注册',
      'login success': '登录成功',
      'confirmPassword': '确认密码',
      'password': '密码',
      'cannot be empty': '用户名或者密码不能为空',
      'user name': '用户名',
      'Please enter the number': '请输入号码',
      'Please enter the correct verification': '请输入正确的验证吗',
      'The two password inputs are inconsistent': '两次密码输入不一致',
      'login was successful': '注册成功',
      'phone number': '手机号',
      'Fill in the verification code': '填写验证码',
      'cancel': '取消',
      'Add camera': '添加摄像头',
      'You have added a camera': '您已添加摄像头',
      'Share success': '分享成功',
      'confirm': '确认',
      'Please enter the sharer account number!': '请输入分享人账号！',
      'Control switch': '控制开关',
      'Setting parameters': '设置参数',
      'View camera': "查看摄像头",
      'Share this device': '分享此设备',
      'Rename this device': '重命名此设备',
      'Remote online': '远程在线',
      'off-line': '离线',
      'The current machine is not online remotely': '当前机器远程不在线',
      'Unbind this device': '解绑此设备',
      'Power switch settings': '电源开关设置',
      'Parameter setting': '参数设置',
      'Switch control': '开关控制',
      'Initializing': '初始化中',
      'retry': '重试',
      // 'Distribution network success': '配网成功',
      'return': '返回',
      'Please enter your Wi Fi password': '请输入Wi-Fi密码',
      'Start distribution network': '开 始 配 网',
      'Binding failed Please check': '绑定失败，请检查设备状态和路由器网络，还原设备状态后重新配置！',
      'Distribution network success': '配网成功，请尽快修改ap信息！',
      'connectedInternet': '设备已接入物联网',
      'confirmWiFi': '请确认您手机已经连接到可用Wi-Fi，连接好后点击下方重试按钮。',
      'checkleft': '请确认您的智能设备处于配网状态，然后在下方输入框中输入<',
      'checkright': '>Wi-Fi对应的密码后，点击下方的开始配网按钮,請不要使用5G波段wifi',
      'Binding in progress': '正在绑定中',
      'New password': '新密码',
      'Submit': '提交',
      'Please click to select sharer permission': '请点击选择分享人权限',
      'Please select the expiration time': '请选择到期时间',
      'Please enter the sharer account': '请输入分享人账号',
      'Please enter a new name': '请输入新名称',
      'Are you sure you want to unbind this device': '确定要解绑次设备吗?',
      'Machine unbinding': '机器解绑中...',
      'Deletion succeeded': '删除成功',
      'Modify share': '修改分享',
      'Sharer account': '分享人账号',
      'Modification succeeded': '修改成功',
      'withdrawshare': '确定要收回此分享吗',
      'Sharing and recovering': '分享收回中',
      'Expired': '已过期',
      'Cancelled successfully': '取消成功',
      'Welcome to the DC translation door': '直流平移门',
      'Welcome to use DC swing door': '直流平开门',
      'Welcome to use the automatic door': '平开自动门',
      'Welcome to the AC translation door': '交流平移门',
      'Welcome to use the AC side door': '交流平开门',
      'Welcome to translation automatic door': '平移自动门',
      'Welcome to 1-4-way inching switch': '1-4路点动开关',
      'Welcome to use 1-4 self-locking switch': '1-4路自锁开关',
      'Welcome to 1-4 way interlock switch': '1-4路互锁开关',
      'Please do not click frequently': '请不要频繁点击哦',
      'Click to start monitoring and playing': '打开摄像头',
      'current state': '当前状态:',
      'Open the door': '开门',
      'close the door': '关门',
      'stop the door': '停止',
      'reminder': '温馨提示',
      'presscontrol': '请尽快按遥控器任意键完成绑定',
      'Add remote control': '添加\n遥控器',
      'deleteallremote': '确认删除所有遥控器吗?',
      'Remove remote control': '删除\n遥控器',
      'Full open mode': '全开模式',
      'Pedestrian channel mode': '人行通道\n模式',
      'Double open mode': '双开模式',
      'Single open mode': '单开模式',
      'Long open mode': '常开模式',
      'Long closed mode': '常闭模式',
      'Close in place': '关到位',
      'Drive to the seat': '开到位',
      'In operation': '运行中',
      'Getting settings': '正在获取设置中',
      'Modify AP information': '修改AP',
      'setdoor1': '门1开关门时间',
      'Submit settings': '提交设置',
      'Settings submitted': '已提交设置',
      'Itinerary learning': '行程学习',
      'View settings': '查看设置',
      'presscontrollearn': '请在20秒钟内按下任意遥控器键开始自动学习！',
      'Restore default settings': '恢复默认设置',
      'parameter settings': '参数设置',
      'Please enter the complete password no less than 8 digits':
          '请输入不少于8位的完整密码',

      'setforcedelay': '设置力度和关门延时时间',

      'setforcedelayAndErrorTile': '设置力度,关门和关错延时时间',

      'setdoorspeed': '开关门速度',
      'setdoor2': '门2开关门时间',
      'setInterval': '开关门间隔时间',

      'Open the door quickly for 1 time': '快速度开门1时间',
      'Open the one door Slow time': '慢速度开门1时间',
      'close the one door quickly time': '快速度关门1时间',
      'close the one door Slow time': '慢速度关门1时间',

      'Open the door quickly for 1 time2': '快速度开门2时间',
      'Open the one door Slow time2': '慢速度开门2时间',
      'close the one door quickly time2': '快速度关门2时间',
      'close the one door Slow time2': '慢速度关门2时间',

      'Title1': '关门延时时间',
      'Title2': '开延时',
      'Title3': '关延时',
      'Title4': '遇阻回弹力',
      'Title5': '停门检测力',

      'Title6': '快开速度',
      'Title7': '慢开速度',
      'Title8': '快关速度',
      'Title9': '慢关速度',

      'changkai': '常开',
      'changbi': '常闭',
      'zidong': '自动',
    }
  };

  String get enterpassword => _localizedValues[locale.languageCode]
      ['Please enter the complete password no less than 8 digits'];

  String get Restoresettings =>
      _localizedValues[locale.languageCode]['Restore default settings'];

  String get setdoor1 => _localizedValues[locale.languageCode]['setdoor1'];

//Click me to set the force and closing delay time
  String get setforcedelay =>
      _localizedValues[locale.languageCode]['setforcedelay'];

  String get setforcedelayAndErrorTile =>
      _localizedValues[locale.languageCode]['setforcedelayAndErrorTile'];

  String get setdoorspeed =>
      _localizedValues[locale.languageCode]['setdoorspeed'];
  String get setdoor2 => _localizedValues[locale.languageCode]['setdoor2'];
  String get setInterval =>
      _localizedValues[locale.languageCode]['setInterval'];

  String get singleTitle1 =>
      _localizedValues[locale.languageCode]['Open the door quickly for 1 time'];
  String get singleTitle2 =>
      _localizedValues[locale.languageCode]['Open the one door Slow time'];
  String get singleTitle3 =>
      _localizedValues[locale.languageCode]['close the one door quickly time'];
  String get singleTitle4 =>
      _localizedValues[locale.languageCode]['close the one door Slow time'];

  String get doubleTitle1 => _localizedValues[locale.languageCode]
      ['Open the door quickly for 1 time2'];
  String get doubleTitle2 =>
      _localizedValues[locale.languageCode]['Open the one door Slow time2'];
  String get doubleTitle3 =>
      _localizedValues[locale.languageCode]['close the one door quickly time2'];
  String get doubleTitle4 =>
      _localizedValues[locale.languageCode]['close the one door Slow time2'];

  String get Title1 => _localizedValues[locale.languageCode]['Title1'];
  String get Title2 => _localizedValues[locale.languageCode]['Title2'];
  String get Title3 => _localizedValues[locale.languageCode]['Title3'];
  String get Title4 => _localizedValues[locale.languageCode]['Title4'];
  String get Title5 => _localizedValues[locale.languageCode]['Title5'];

  String get Title6 => _localizedValues[locale.languageCode]['Title6'];
  String get Title7 => _localizedValues[locale.languageCode]['Title7'];
  String get Title8 => _localizedValues[locale.languageCode]['Title8'];
  String get Title9 => _localizedValues[locale.languageCode]['Title9'];

  String get changkai => _localizedValues[locale.languageCode]['changkai'];
  String get changbi => _localizedValues[locale.languageCode]['changbi'];
  String get zidong => _localizedValues[locale.languageCode]['zidong'];

  String get SubmitSettings =>
      _localizedValues[locale.languageCode]['Submit settings'];
  String get SettingsSubmitted =>
      _localizedValues[locale.languageCode]['Settings submitted'];
  String get Itinerary =>
      _localizedValues[locale.languageCode]['Itinerary learning'];
  String get Viewsettings =>
      _localizedValues[locale.languageCode]['View settings'];
  String get presscontrollearn =>
      _localizedValues[locale.languageCode]['presscontrollearn'];

  String get ModifyAP =>
      _localizedValues[locale.languageCode]['Modify AP information'];

  String get GettingSettings =>
      _localizedValues[locale.languageCode]['Getting settings'];

  String get Closeing =>
      _localizedValues[locale.languageCode]['Close in place'];
  String get Driveing =>
      _localizedValues[locale.languageCode]['Drive to the seat'];
  String get operation => _localizedValues[locale.languageCode]['In operation'];

  String get Full => _localizedValues[locale.languageCode]['Full open mode'];
  String get Pedestrian =>
      _localizedValues[locale.languageCode]['Pedestrian channel mode'];

  String get Double =>
      _localizedValues[locale.languageCode]['Double open mode'];
  String get Single =>
      _localizedValues[locale.languageCode]['Single open mode'];

  String get Longopen =>
      _localizedValues[locale.languageCode]['Long open mode'];
  String get Longclosed =>
      _localizedValues[locale.languageCode]['Long closed mode'];

  String get Removeremote =>
      _localizedValues[locale.languageCode]['Remove remote control'];

  String get deleteallremote =>
      _localizedValues[locale.languageCode]['deleteallremote'];

  String get Addremotecontrol =>
      _localizedValues[locale.languageCode]['Add remote control'];
  String get presscontrol =>
      _localizedValues[locale.languageCode]['presscontrol'];
  String get reminder => _localizedValues[locale.languageCode]['reminder'];

  String get inching => _localizedValues[locale.languageCode]
      ['Welcome to 1-4-way inching switch'];
  String get selflocking => _localizedValues[locale.languageCode]
      ['Welcome to use 1-4 self-locking switch'];
  String get interlock => _localizedValues[locale.languageCode]
      ['Welcome to 1-4 way interlock switch'];

  String get DCtranslation => _localizedValues[locale.languageCode]
      ['Welcome to the DC translation door'];
  String get DCswing =>
      _localizedValues[locale.languageCode]['Welcome to use DC swing door'];
  String get automatic => _localizedValues[locale.languageCode]
      ['Welcome to use the automatic door'];
  String get ACtranslation => _localizedValues[locale.languageCode]
      ['Welcome to the AC translation door'];
  String get ACside =>
      _localizedValues[locale.languageCode]['Welcome to use the AC side door'];
  String get translation => _localizedValues[locale.languageCode]
      ['Welcome to translation automatic door'];

  String get Opendoor => _localizedValues[locale.languageCode]['Open the door'];
  String get closedoor =>
      _localizedValues[locale.languageCode]['close the door'];
  String get stopdoor => _localizedValues[locale.languageCode]['stop the door'];
  String get currentState =>
      _localizedValues[locale.languageCode]['current state'];
  String get startmonitoring => _localizedValues[locale.languageCode]
      ['Click to start monitoring and playing'];
  String get notfrequently =>
      _localizedValues[locale.languageCode]['Please do not click frequently'];
  String get CancelledSuccessfully =>
      _localizedValues[locale.languageCode]['Cancelled successfully'];
  String get Expired => _localizedValues[locale.languageCode]['Expired'];
  String get Sharinrecovering =>
      _localizedValues[locale.languageCode]['Sharing and recovering'];
  String get withdrawshare =>
      _localizedValues[locale.languageCode]['withdrawshare'];
  String get Modificationsucceeded =>
      _localizedValues[locale.languageCode]['Modification succeeded'];
  String get SharerAccount =>
      _localizedValues[locale.languageCode]['Sharer account'];

  String get Modifyshare =>
      _localizedValues[locale.languageCode]['Modify share'];
  String get deletionSucceeded =>
      _localizedValues[locale.languageCode]['Deletion succeeded'];
  String get MachineUnbinding =>
      _localizedValues[locale.languageCode]['Machine unbinding'];
  String get sureunbind => _localizedValues[locale.languageCode]
      ['Are you sure you want to unbind this device'];
  String get enternewname =>
      _localizedValues[locale.languageCode]['Please enter a new name'];
  String get entershareraccount =>
      _localizedValues[locale.languageCode]['Please enter the sharer account'];
  String get clicktime => _localizedValues[locale.languageCode]
      ['Please select the expiration time'];
  String get clickpermission => _localizedValues[locale.languageCode]
      ['Please click to select sharer permission'];
  String get Submit => _localizedValues[locale.languageCode]['Submit'];
  String get NewPassword =>
      _localizedValues[locale.languageCode]['New password'];
  String get checkright => _localizedValues[locale.languageCode]['checkright'];
  String get checkleft => _localizedValues[locale.languageCode]['checkleft'];
  String get confirmWiFi =>
      _localizedValues[locale.languageCode]['confirmWiFi'];
  String get connectedInternet =>
      _localizedValues[locale.languageCode]['connectedInternet'];
  String get Bindingprogress =>
      _localizedValues[locale.languageCode]['Binding in progress'];

  String get DistributionNetworkSuccessLong =>
      _localizedValues[locale.languageCode]['Distribution network success'];
  String get BindingFailedPleaseCheck =>
      _localizedValues[locale.languageCode]['Binding failed Please check'];
  String get distributionNetwork =>
      _localizedValues[locale.languageCode]['Start distribution network'];
  String get enterWiFipassword =>
      _localizedValues[locale.languageCode]['Please enter your Wi Fi password'];
  String get returnT => _localizedValues[locale.languageCode]['return'];
  String get Distributionnetworksuccess =>
      _localizedValues[locale.languageCode]['Distribution network success'];
  String get retry => _localizedValues[locale.languageCode]['retry'];
  String get Initializing =>
      _localizedValues[locale.languageCode]['Initializing'];
  get Switchcontrol => _localizedValues[locale.languageCode]['Switch control'];
  String get PowerSettings =>
      _localizedValues[locale.languageCode]['Power switch settings'];
  String get ParameterSettings =>
      _localizedValues[locale.languageCode]['Parameter setting'];
  String get UnbindDevice =>
      _localizedValues[locale.languageCode]['Unbind this device'];
  String get machinenotonline => _localizedValues[locale.languageCode]
      ['The current machine is not online remotely'];
  String get offLine => _localizedValues[locale.languageCode]['off-line'];
  String get RemoteOnline =>
      _localizedValues[locale.languageCode]['Remote online'];
  String get RenameDevice =>
      _localizedValues[locale.languageCode]['Rename this device'];
  String get ShareDevice =>
      _localizedValues[locale.languageCode]['Share this device'];
  String get ControlSwitch =>
      _localizedValues[locale.languageCode]['Control switch'];
  String get SettingParameters =>
      _localizedValues[locale.languageCode]['Setting parameters'];
  String get ViewCamera => _localizedValues[locale.languageCode]['View camera'];
  String get enterSharerAccount => _localizedValues[locale.languageCode]
      ['Please enter the sharer account number!'];
  String get confirm => _localizedValues[locale.languageCode]['confirm'];
  get shareSuccess => _localizedValues[locale.languageCode]['Share success'];
  get haveAddCamera =>
      _localizedValues[locale.languageCode]['You have added a camera'];
  get AddCamera => _localizedValues[locale.languageCode]['Add camera'];
  get cancel => _localizedValues[locale.languageCode]['cancel'];
  String get passwordInconsistent => _localizedValues[locale.languageCode]
      ['The two password inputs are inconsistent'];
  String get enterCorrect => _localizedValues[locale.languageCode]
      ['Please enter the correct verification'];
  String get enterNumber =>
      _localizedValues[locale.languageCode]['Please enter the number'];
  String get userName => _localizedValues[locale.languageCode]['user name'];
  String get cannotBeEmpty =>
      _localizedValues[locale.languageCode]['cannot be empty'];
  get confirmPassword =>
      _localizedValues[locale.languageCode]['confirmPassword'];
  String get loginSuccess =>
      _localizedValues[locale.languageCode]['login success'];
  String get register => _localizedValues[locale.languageCode]['register'];
  get NoShare => _localizedValues[locale.languageCode]['No share'];
  get SendVerification =>
      _localizedValues[locale.languageCode]['Send verification code'];
  get login => _localizedValues[locale.languageCode]['login'];
  get LoginFirst => _localizedValues[locale.languageCode]['Please login first'];
  get NumberShares => _localizedValues[locale.languageCode]['Number of shares'];
  get NoEquipment => _localizedValues[locale.languageCode]['No equipment'];
  get note => _localizedValues[locale.languageCode]['note'];
  get shareList => _localizedValues[locale.languageCode]['share list'];
  String get changePassword =>
      _localizedValues[locale.languageCode]['change pass'];
  get myShare => _localizedValues[locale.languageCode]['my share'];
  get loginOut => _localizedValues[locale.languageCode]['login out'];
  get notLogin => _localizedValues[locale.languageCode]['not login'];
  get addDevice => _localizedValues[locale.languageCode]['add device'];
  get taskTitle {
    return _localizedValues[locale.languageCode]['task title'];
  }

  get titleTowTitle => _localizedValues[locale.languageCode]['task tow title'];
  get autoLoginFail {
    return _localizedValues[locale.languageCode]['auto login fail'];
  }

  get password => _localizedValues[locale.languageCode]['password'];
  String get registerSucc =>
      _localizedValues[locale.languageCode]['login was successful'];
  get phoneNumber => _localizedValues[locale.languageCode]['phone number'];
  get Fillverification =>
      _localizedValues[locale.languageCode]['Fill in the verification code'];

  String get ParamSetting =>
      _localizedValues[locale.languageCode]['parameter settings'];

  //此处
  static DemoLocalizations of(BuildContext context) {
    return Localizations.of(context, DemoLocalizations);
  }
}